How many types of collection configuration element does Spring offers?
1.3
2.4
3.5
4.2
How many types of transaction management does spring support?
1.3
2.4
3.5
4.2
Spring framework was released in ____.
1.2001
2.2002
3.2003
4.2005
The scope is always ____ by default?
1.Singleton
2.Prototype
3.Session
4.Global-session
Which of the following scope allows a single bean specification to have an unlimited number of object instances?
1.Singleton
2.prototype
3.Session
4.Global-session
How many autowiring modes are there in Spring?
1.4
2.5
3.2
4.3
How many different ways may Spring-based apps be configured?
1.Java-based configuration
2.XML-based configuration
3.Annotation-based configuration
4.All of the above
How many types of IOC containers are there?
1.5
2.4
3.3
4.2
In how many ways you can inject dependency?
1.4
2.2
3.5
4.7
Spring framework's ____ capability allows you to insert object dependencies indirectly.
1.Autowiring
2.Autoreferences
3.Applicationbean
4.AutoBeans
The key unit of modularity in AOP is the ____?
1.Module
2.Class
3.Aspect
4.Objects
The key unit of modularity in OOP is the ____?
1.Module
2.Class
3.Aspect
4.Objects
What are the responsibilities of JdbcTemplate class?
1.Takes care of resource generation
2.We can carry out all database operations.
3.Handles the exception and displays useful error messages
4.All of the above
What is AOP?
1.Aspect object programming
2.Aspect-oriented programming
3.Artificial-oriented programming
4.Artificial object programming
What is IOC?
1.Integral of conversion
2.Integrated oriented control
3.Inversion of conversion
4.Inversion of control
When using ____ autowiring mode, the bean id and reference name must be identical.
1.Byname
2.ByType
3.No
4.Constructor
Which annotation designates a class as the controller?
1.@cont
2.@controller
3.@_controller
4.@__controller
Which of the following annotation is used to associate a URL with a whole class or a specific handler function?
1.RequestMapping
2.RequestMap
3.RequestMapper
4.Mapper
Which of the following clearly states the role of IOC in Spring?
1.To instantiate the application class
2.To setup the object
3.To assemble the object dependencies
4.All of the above
Which of the following does the J2EE platform consist of?
1.Services
2.APIs
3.Protocols
4.All of the listed options
Which of the following helps us to fetch the record from the database?
1.ResultSetExtractor
2.RowMapper
3.Both
4.None
Which of the following is the default autowiring mode?
1.Byname
2.ByType
3.No
4.Constructor
Which of the following is useful for wiring, such as injecting a list of variables and allowing for duplication?
1.LIST
2.MAP
3.SET
4.PROPS
Which of the following scope, restricts the bean specification to a single instance per Spring IoC container?
1.Singleton
2.Prototype
3.Session
4.Global-session
Which of the following type of advice executes after a joint point has been completed properly?
1.Before advice
2.After Returning Advice
3.After Throwing Advice
4.Around Advice
Which of the following type of advice executes before and after a joint point?
1.Before advice
2.After Returning Advice
3.After Throwing Advice
4.Around Advice
Which of the following type of advice executes if the method exits by throwing an exception?
1.Before advice
2.After Returning Advice
3.After Throwing Advice
4.Around Advice
With Spring Web MVC, which class serves as the front controller?
1.DispatcherServlet
2.Servlet
3.ServletContext
4.HandlerApapter
_ beans are defined inside the scope of another bean.
1.Core
2.Outer
3.Peripheral
4.Inner
__ are the objects that constitute the backbone of your application and are maintained by the Spring IoC container?
1.Threads
2.Process
3.Beans
4.Application
__ can be employed to inject a collection of name-value pairs with any type of name and value?
1.LIST
2.MAP
3.SET
4.PROPS
__ denotes an action taken by an aspect at a specific join point.
1.Interceptor
2.Pointcut
3.Advice
4.Target Object
__ is a class that accepts incoming requests and routes them to the appropriate resources such as controllers, models, and views.
1.DispatcherServlet
2.Servlet
3.ServletContext
4.HandlerApapter
___ aids in wiring a group of values that are not duplicated?
1.<LIST>
2.MAP
3.SET
4.PROPS
___ is used to increase modularity by cross-cutting concerns.
1.JVM
2.Jdbctemplate class
3.OOP
4.AOP